#ifndef IDENTITYVIEW_H
#define IDENTITYVIEW_H

#include "viewobject.h"
#include "paramobject.h"
#include <qdom.h>

typedef struct ArriveViewParam
{
    QString         m_resNormalPath;
    ArriveViewParam()
    {
        m_resNormalPath = "";
    }
}ArriveViewParam;

class ArriveView : public ViewObject
{
    Q_OBJECT
public:
    static int m_id;
    Q_INVOKABLE explicit ArriveView(QWidget *parent = 0);
    ~ArriveView();

    void ShowObject();

    void GetAttribute(std::string&);

    void SetAttribute(std::string);

    void ParseXML(QDomElement* );

    void PacketXML(QDomElement*);

    QString FindCss(QString prefix, QString url_origin, QString url_with_suffix);
    QString FindHqt(QString prefix, QString url);
private:

    ArriveViewParam* m_paramIdentity;
};

#endif // IDENTITYVIEWOBJECT_H
